File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ language: python
2
2
3
3
python :
4
4
- " 2.7"
5
+ - " 3.3"
6
+ - " 3.4"
5
7
6
8
env :
7
9
- DJANGO_VERSION="1.4"
@@ -17,10 +19,6 @@ script: python runtests.py
17
19
18
20
matrix :
19
21
exclude :
20
- - python : " 3.3"
21
- env : DJANGO_VERSION="1.3"
22
- - python : " 3.4"
23
- env : DJANGO_VERSION="1.3"
24
22
- python : " 3.3"
25
23
env : DJANGO_VERSION="1.4"
26
24
- python : " 3.4"
Original file line number Diff line number Diff line change @@ -245,13 +245,13 @@ def test_timed_cycle(self):
245
245
comment .delete ()
246
246
total = datetime .now () - early
247
247
248
- print total
248
+ print ( total )
249
249
250
250
while True :
251
251
response = requests .get (target + '/view' )
252
252
sent = response .json
253
253
if sent :
254
- print len (sent ), models .async_requests .total_sent
254
+ print ( len (sent ), models .async_requests .total_sent )
255
255
if models .async_requests .total_sent >= (30 * (n + 1 )):
256
256
time .sleep (5 )
257
257
break
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def get_module(path):
10
10
try :
11
11
mod_name , func_name = path .rsplit ('.' , 1 )
12
12
mod = import_module (mod_name )
13
- except ImportError , e :
13
+ except ImportError as e :
14
14
raise ImportError (
15
15
'Error importing alert function {0}: "{1}"' .format (mod_name , e ))
16
16
You can’t perform that action at this time.
0 commit comments