Skip to content

Commit 3e39f32

Browse files
committed
assertIs DNE in python 2.6 TestCase
1 parent f020ae9 commit 3e39f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/tests/test_optional/test_utils/test_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import numpy as np
1212
import json
1313
import pandas as pd
14-
import six
14+
import sys
1515
from pandas.util.testing import assert_series_equal
1616
import matplotlib.pyplot as plt
1717

@@ -76,7 +76,7 @@ def test_encode_as_pandas(self):
7676

7777
# should succeed when we've got specific pandas thingies
7878
res = utils.PlotlyJSONEncoder.encode_as_pandas(pd.NaT)
79-
self.assertIs(res, None)
79+
self.assertTrue(res is None)
8080

8181
def test_encode_as_numpy(self):
8282

0 commit comments

Comments
 (0)