From 882ba4dcdc5d426c85ceef45e1f5adfe96136318 Mon Sep 17 00:00:00 2001 From: Mikhail Golubev Date: Fri, 7 Jun 2019 18:01:16 +0300 Subject: [PATCH] Fix metaclass declaration in a Python 3 specific test GitOrigin-RevId: e73704b5cd261ce617676e5ed5b32f1545265f30 --- .../.failed__mod | 0 .../SkeletonCaching/inaccessible_class_attribute_py3/mod.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/after/cache/{df9eae3f105d62d261f078bff6683581bd5e73104631aedc0a68934e048a154a => 12b1e3ccd3b36428ab42a2fcb2cf042c093e43a22f558c4d0d71a4419c132bf4}/.failed__mod (100%) diff --git a/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/after/cache/df9eae3f105d62d261f078bff6683581bd5e73104631aedc0a68934e048a154a/.failed__mod b/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/after/cache/12b1e3ccd3b36428ab42a2fcb2cf042c093e43a22f558c4d0d71a4419c132bf4/.failed__mod similarity index 100% rename from python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/after/cache/df9eae3f105d62d261f078bff6683581bd5e73104631aedc0a68934e048a154a/.failed__mod rename to python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/after/cache/12b1e3ccd3b36428ab42a2fcb2cf042c093e43a22f558c4d0d71a4419c132bf4/.failed__mod diff --git a/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/mod.py b/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/mod.py index 649a33031b8e..50a69e7e16c8 100644 --- a/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/mod.py +++ b/python/helpers/tests/generator3_tests/data/SkeletonCaching/inaccessible_class_attribute_py3/mod.py @@ -3,5 +3,5 @@ class MyMeta(type): raise RuntimeError -class MyClass(meta=MyMeta): +class MyClass(metaclass=MyMeta): attr = 42