Skip to content

Commit

Permalink
suggested edit to skip at class level
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Mar 1, 2019
1 parent 5f03e05 commit b4218fb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dateutil/test/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,8 @@ def test_unambiguous_YYYYMM(self):
assert res == expected


class TestWithTZEnvContext(object):
@pytest.mark.skipif(IS_WIN, reason='Windows does not use TZ var')
@pytest.mark.skipif(IS_WIN, reason="Windows does not use TZ var")
class TZVarTest(object):
def test_parse_unambiguous_nonexistent_local(self):
# When dates are specified "EST" even when they should be "EDT" in the
# local time zone, we should still assign the local time zone
Expand All @@ -791,7 +791,6 @@ def test_parse_unambiguous_nonexistent_local(self):
assert dt.tzname() == 'EDT'
assert dt == dt_exp

@pytest.mark.skipif(IS_WIN, reason='Windows does not use TZ var')
def test_tzlocal_in_gmt(self):
# GH #318
with TZEnvContext('GMT0BST,M3.5.0,M10.5.0'):
Expand All @@ -802,7 +801,6 @@ def test_tzlocal_in_gmt(self):

assert dt == dt_exp

@pytest.mark.skipif(IS_WIN, reason='Windows does not use TZ var')
def test_tzlocal_parse_fold(self):
# One manifestion of GH #318
with TZEnvContext('EST+5EDT,M3.2.0/2,M11.1.0/2'):
Expand Down

0 comments on commit b4218fb

Please sign in to comment.