Changeset 997 for trunk


Ignore:
Timestamp:
Apr 25, 2019, 12:56:42 PM (3 months ago)
Author:
cito
Message:

Some more IDE hints

Location:
trunk/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_connection.py

    r996 r997  
    4141        pass
    4242
    43 try:
     43try:  # noinspection PyUnresolvedReferences
    4444    long
    4545except NameError:  # Python >= 3.0
    4646    long = int
    4747
    48 try:
     48try:  # noinspection PyUnresolvedReferences
    4949    unicode
    5050except NameError:  # Python >= 3.0
     
    222222            '''.split()
    223223        query_members = [a for a in dir(query)
    224             if not a.startswith('__')]
     224            if not a.startswith('__')
     225            and a != 'next']  # this is only needed in Python 2
    225226        self.assertEqual(members, query_members)
    226227
  • trunk/tests/test_classic_dbwrapper.py

    r991 r997  
    4747        pass
    4848
    49 try:
     49try:  # noinspection PyUnresolvedReferences
    5050    long
    5151except NameError:  # Python >= 3.0
    5252    long = int
    5353
    54 try:
     54try:  # noinspection PyUnresolvedReferences
    5555    unicode
    5656except NameError:  # Python >= 3.0
     
    6262    OrderedDict = dict
    6363
    64 if str is bytes:
     64if str is bytes:  # noinspection PyUnresolvedReferences
    6565    from StringIO import StringIO
    6666else:
  • trunk/tests/test_classic_functions.py

    r985 r997  
    2323from datetime import timedelta
    2424
    25 try:
     25try:  # noinspection PyUnresolvedReferences
    2626    long
    2727except NameError:  # Python >= 3.0
    2828    long = int
    2929
    30 try:
     30try:  # noinspection PyUnresolvedReferences
    3131    unicode
    3232except NameError:  # Python >= 3.0
  • trunk/tests/test_dbapi20_copy.py

    r969 r997  
    3838        pass
    3939
    40 try:
     40try:  # noinspection PyUnresolvedReferences
    4141    unicode
    4242except NameError:  # Python >= 3.0
Note: See TracChangeset for help on using the changeset viewer.