Fixed deprecation warnings in //examples/wheel tests
diff --git a/examples/wheel/wheel_test.py b/examples/wheel/wheel_test.py
index 8200e54..d17cdef 100644
--- a/examples/wheel/wheel_test.py
+++ b/examples/wheel/wheel_test.py
@@ -29,7 +29,7 @@
             "example_minimal_library-0.0.1-py3-none-any.whl",
         )
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "examples/wheel/lib/module_with_data.py",
@@ -49,7 +49,7 @@
             "example_minimal_package-0.0.1-py3-none-any.whl",
         )
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "examples/wheel/lib/data.txt",
@@ -71,7 +71,7 @@
             "example_customized-0.0.1-py3-none-any.whl",
         )
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "examples/wheel/lib/data.txt",
@@ -92,7 +92,7 @@
             )
             # The entries are guaranteed to be sorted.
             if platform.system() == "Windows":
-                self.assertEquals(
+                self.assertEqual(
                     record_contents,
                     b"""\
 example_customized-0.0.1.dist-info/METADATA,sha256=pzE96o3Sp63TDzxAZgl0F42EFevm8x15vpDLqDVp_EQ,378
@@ -106,7 +106,7 @@
 """,
                 )
             else:
-                self.assertEquals(
+                self.assertEqual(
                     record_contents,
                     b"""\
 example_customized-0.0.1.dist-info/METADATA,sha256=TeeEmokHE2NWjkaMcVJuSAq4_AXUoIad2-SLuquRmbg,372
@@ -119,7 +119,7 @@
 examples/wheel/main.py,sha256=sgg5iWN_9inYBjm6_Zw27hYdmo-l24fA-2rfphT-IlY,909
 """,
                 )
-            self.assertEquals(
+            self.assertEqual(
                 wheel_contents,
                 b"""\
 Wheel-Version: 1.0
@@ -129,7 +129,7 @@
 """,
             )
             if platform.system() == "Windows":
-                self.assertEquals(
+                self.assertEqual(
                     metadata_contents,
                     b"""\
 Metadata-Version: 2.1
@@ -147,7 +147,7 @@
 """,
                 )
             else:
-                self.assertEquals(
+                self.assertEqual(
                     metadata_contents,
                     b"""\
 Metadata-Version: 2.1
@@ -164,7 +164,7 @@
 This is a sample description of a wheel.
 """,
                 )
-            self.assertEquals(
+            self.assertEqual(
                 entry_point_contents,
                 b"""\
 [console_scripts]
@@ -185,7 +185,7 @@
             "file_name_escaping-0.0.1_r7-py3-none-any.whl",
         )
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "examples/wheel/lib/data.txt",
@@ -203,7 +203,7 @@
             metadata_contents = zf.read(
                 "file_name_escaping-0.0.1_r7.dist-info/METADATA"
             )
-            self.assertEquals(
+            self.assertEqual(
                 metadata_contents,
                 b"""\
 Metadata-Version: 2.1
@@ -224,7 +224,7 @@
         )
 
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "wheel/lib/data.txt",
@@ -256,7 +256,7 @@
         )
 
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "data.txt",
@@ -287,7 +287,7 @@
         )
 
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "lib/data.txt",
@@ -321,7 +321,7 @@
                 "example_python_requires_in_a_package-0.0.1.dist-info/METADATA"
             )
             # The entries are guaranteed to be sorted.
-            self.assertEquals(
+            self.assertEqual(
                 metadata_contents,
                 b"""\
 Metadata-Version: 2.1
@@ -380,24 +380,24 @@
 """,
             )
 
-    def test_genrule_creates_directory_and_is_included_in_wheel(self):
+    def test_rule_creates_directory_and_is_included_in_wheel(self):
         filename = os.path.join(
             os.environ["TEST_SRCDIR"],
             "rules_python",
             "examples",
             "wheel",
-            "use_genrule_with_dir_in_outs-0.0.1-py3-none-any.whl",
+            "use_rule_with_dir_in_outs-0.0.1-py3-none-any.whl",
         )
 
         with zipfile.ZipFile(filename) as zf:
-            self.assertEquals(
+            self.assertEqual(
                 zf.namelist(),
                 [
                     "examples/wheel/main.py",
                     "examples/wheel/someDir/foo.py",
-                    "use_genrule_with_dir_in_outs-0.0.1.dist-info/WHEEL",
-                    "use_genrule_with_dir_in_outs-0.0.1.dist-info/METADATA",
-                    "use_genrule_with_dir_in_outs-0.0.1.dist-info/RECORD",
+                    "use_rule_with_dir_in_outs-0.0.1.dist-info/WHEEL",
+                    "use_rule_with_dir_in_outs-0.0.1.dist-info/METADATA",
+                    "use_rule_with_dir_in_outs-0.0.1.dist-info/RECORD",
                 ],
             )