File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 55 - pypy
66install :
77 - python setup.py install
8+ - pip install unittest2
89script :
910 - python test_replays/test_all.py
1011 - python test_s2gs/test_all.py
12+ branches :
13+ only :
14+ - master
1115notifications :
1216 irc : " chat.freenode.net#sc2reader"
Original file line number Diff line number Diff line change 22
33import datetime
44import json
5- import unittest
5+
6+ # Newer unittest features aren't built in for python 2.6
7+ import sys
8+ if sys .version_info [:2 ] <= (2 , 7 ):
9+ import unittest2 as unittest
10+ else :
11+ import unittest
612
713import sc2reader
814sc2reader .log_utils .log_to_console ("INFO" )
Original file line number Diff line number Diff line change 11# -*- coding: UTF-8 -*-
22
3- import unittest
3+ # Newer unittest features aren't built in for python 2.6
4+ import sys
5+ if sys .version_info [:2 ] <= (2 , 7 ):
6+ import unittest2 as unittest
7+ else :
8+ import unittest
49
510import sc2reader
611sc2reader .log_utils .log_to_console ("INFO" )
You can’t perform that action at this time.
0 commit comments