summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_multiarray.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py
index b0a565b0c..a9281a644 100644
--- a/numpy/core/tests/test_multiarray.py
+++ b/numpy/core/tests/test_multiarray.py
@@ -5734,10 +5734,10 @@ class TestArrayPriority(TestCase):
class TestEmptyStringArray(TestCase):
def test_empty_bstring_array_is_falsey(self):
- self.assertFalse(np.array([b'']))
+ self.assertFalse(np.array([''], dtype=np.str))
def test_empty_ustring_array_is_falsey(self):
- self.assertFalse(np.array([u'']))
+ self.assertFalse(np.array([''], dtype=np.unicode))
if __name__ == "__main__":