use assert[Not]In where appropriate
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py
index 4453afe..e2ef790 100644
--- a/Lib/test/test_winreg.py
+++ b/Lib/test/test_winreg.py
@@ -112,8 +112,8 @@
data = EnumValue(sub_key, index)
except EnvironmentError:
break
- self.assertEquals(data in test_data, True,
- "Didn't read back the correct test data")
+ self.assertIn(data, test_data,
+ "Didn't read back the correct test data")
index = index + 1
self.assertEquals(index, len(test_data),
"Didn't read the correct number of items")