Skip to content

Commit d7b69b1

Browse files
committed
Fix grouping
1 parent 4974026 commit d7b69b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/@tests/test_cases/check_unittest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
case.assertAlmostEqual(2.4, 2.41)
2020
case.assertAlmostEqual(Fraction(49, 50), Fraction(48, 50))
2121
case.assertAlmostEqual(3.14, complex(5, 6))
22+
case.assertAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1))
2223
case.assertAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1), delta=timedelta(hours=1))
2324
case.assertAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1), None, "foo", timedelta(hours=1))
2425
case.assertAlmostEqual(Decimal("1.1"), Decimal("1.11"))
@@ -28,7 +29,6 @@
2829

2930
case.assertAlmostEqual(2.4, 2.41, places=9, delta=0.02) # type: ignore
3031
case.assertAlmostEqual("foo", "bar") # type: ignore
31-
case.assertAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1))
3232
case.assertAlmostEqual(Decimal("0.4"), Fraction(1, 2)) # type: ignore
3333
case.assertAlmostEqual(complex(2, 3), Decimal("0.9")) # type: ignore
3434

@@ -39,12 +39,12 @@
3939
case.assertAlmostEqual(1, 2.4)
4040
case.assertNotAlmostEqual(Fraction(49, 50), Fraction(48, 50))
4141
case.assertAlmostEqual(3.14, complex(5, 6))
42+
case.assertNotAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1))
4243
case.assertNotAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1), delta=timedelta(hours=1))
4344
case.assertNotAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1), None, "foo", timedelta(hours=1))
4445

4546
case.assertNotAlmostEqual(2.4, 2.41, places=9, delta=0.02) # type: ignore
4647
case.assertNotAlmostEqual("foo", "bar") # type: ignore
47-
case.assertNotAlmostEqual(datetime(1999, 1, 2), datetime(1999, 1, 2, microsecond=1))
4848
case.assertNotAlmostEqual(Decimal("0.4"), Fraction(1, 2)) # type: ignore
4949
case.assertNotAlmostEqual(complex(2, 3), Decimal("0.9")) # type: ignore
5050

0 commit comments

Comments
 (0)