Skip to content

Commit 52bd399

Browse files
committed
temp-
1 parent 236a840 commit 52bd399

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Lib/test/datetimetester.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ def test_dst(self):
327327
with self.assertRaises(TypeError): self.EST.dst(5)
328328

329329
def test_tzname(self):
330-
if 'Pure' not in self.__class__.__name__: return # BUG
331330
self.assertEqual('UTC', timezone.utc.tzname(None))
332331
self.assertEqual('UTC', UTC.tzname(None))
333332
self.assertEqual('UTC', timezone(ZERO).tzname(None))
@@ -845,7 +844,6 @@ def test_resolution_info(self):
845844
self.assertEqual(timedelta.resolution, timedelta(0, 0, 0, 1))
846845

847846
def test_overflow(self):
848-
if 'Pure' not in self.__class__.__name__: return # BUG
849847
tiny = timedelta.resolution
850848

851849
td = timedelta.min + tiny
@@ -1059,7 +1057,6 @@ def as_integer_ratio(self):
10591057
timedelta() * get_bad_float(bad_ratio)
10601058

10611059
def test_issue31752(self):
1062-
if 'Pure' not in self.__class__.__name__: return # BUG
10631060
# The interpreter shouldn't crash because divmod() returns negative
10641061
# remainder.
10651062
class BadInt(int):
@@ -6640,7 +6637,6 @@ def assertEquivDatetimes(self, a, b):
66406637
(b.replace(tzinfo=None), b.fold, id(b.tzinfo)))
66416638

66426639
def test_folds(self):
6643-
if 'Pure' not in self.__class__.__name__: return # BUG
66446640
tz = self.tz
66456641
for dt, shift in tz.folds():
66466642
for x in [0 * shift, 0.5 * shift, shift - timedelta.resolution]:
@@ -6663,7 +6659,6 @@ def test_folds(self):
66636659
self.assertEqual(ldt.fold, 0)
66646660

66656661
def test_gaps(self):
6666-
if 'Pure' not in self.__class__.__name__: return # BUG
66676662
tz = self.tz
66686663
for dt, shift in tz.gaps():
66696664
for x in [0 * shift, 0.5 * shift, shift - timedelta.resolution]:
@@ -6701,7 +6696,6 @@ def _change_tz(cls, new_tzinfo):
67016696
hasattr(_time, "tzset"), "time module has no attribute tzset"
67026697
)
67036698
def test_system_transitions(self):
6704-
if 'Pure' not in self.__class__.__name__: return # BUG
67056699
if ('Riyadh8' in self.zonename or
67066700
# From tzdata NEWS file:
67076701
# The files solar87, solar88, and solar89 are no longer distributed.

0 commit comments

Comments
 (0)