Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
57f3198e
Commit
57f3198e
authored
Jan 08, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python 3 proof class cration
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
abf91dcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
weblate/trans/tests/test_selenium.py
weblate/trans/tests/test_selenium.py
+5
-2
No files found.
weblate/trans/tests/test_selenium.py
View file @
57f3198e
...
...
@@ -22,7 +22,10 @@ from __future__ import print_function
from
unittest
import
SkipTest
import
time
import
os
import
new
try
:
from
types
import
new_class
except
ImportError
:
from
new
import
classobj
as
new_class
import
json
import
base64
from
six.moves.http_client
import
HTTPConnection
...
...
@@ -324,7 +327,7 @@ def create_extra_classes():
classdict
.
update
({
'caps'
:
EXTRA_PLATFORMS
[
platform
],
})
classes
[
name
]
=
new
.
classobj
(
name
,
(
SeleniumTests
,),
classdict
)
classes
[
name
]
=
new
_class
(
name
,
(
SeleniumTests
,),
classdict
)
globals
().
update
(
classes
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment