Skip to content

Commit 5b7099d

Browse files
committed
Remove obviated skips
1 parent 23545f2 commit 5b7099d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pandas/tests/frame/test_constructors.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,6 @@ def test_constructor_ndarray(self):
684684
frame = DataFrame(['foo', 'bar'], index=[0, 1], columns=['A'])
685685
assert len(frame) == 2
686686

687-
@pytest.mark.skipif(PY2, reason="old numpy & py2")
688687
def test_constructor_maskedarray(self):
689688
self._check_basic_constructor(ma.masked_all)
690689

@@ -701,8 +700,6 @@ def test_constructor_maskedarray(self):
701700
frame = DataFrame(mat, columns=['A', 'B', 'C'], index=[1, 2])
702701
assert np.all(~np.asarray(frame == frame))
703702

704-
@pytest.mark.skipif(PY2 and _np_version_under1p13,
705-
reason="old numpy & py2")
706703
def test_constructor_maskedarray_nonfloat(self):
707704
# masked int promoted to float
708705
mat = ma.masked_all((2, 3), dtype=int)
@@ -770,8 +767,6 @@ def test_constructor_maskedarray_nonfloat(self):
770767
assert frame['A'][1] is True
771768
assert frame['C'][2] is False
772769

773-
@pytest.mark.skipif(PY2 and _np_version_under1p13,
774-
reason="old numpy & py2")
775770
def test_constructor_maskedarray_hardened(self):
776771
# Check numpy masked arrays with hard masks -- from GH24574
777772
mat_hard = ma.masked_all((2, 2), dtype=float).harden_mask()
@@ -794,8 +789,6 @@ def test_constructor_maskedarray_hardened(self):
794789
dtype=float)
795790
tm.assert_frame_equal(result, expected)
796791

797-
@pytest.mark.skipif(PY2 and _np_version_under1p13,
798-
reason="old numpy & py2")
799792
def test_constructor_maskedrecarray_dtype(self):
800793
# Ensure constructor honors dtype
801794
data = np.ma.array(
@@ -807,8 +800,6 @@ def test_constructor_maskedrecarray_dtype(self):
807800
columns=['date', 'price'])
808801
tm.assert_frame_equal(result, expected)
809802

810-
@pytest.mark.skipif(PY2 and _np_version_under1p13,
811-
reason="old numpy & py2")
812803
def test_constructor_mrecarray(self):
813804
# Ensure mrecarray produces frame identical to dict of masked arrays
814805
# from GH3479

0 commit comments

Comments
 (0)