Skip to content

Commit 1c3fe35

Browse files
committed
@abc.abstractmethod -> @AbstractMethod
1 parent 55555a2 commit 1c3fe35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spark/src/cgcloud/spark/test/test_spark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import time
55
import logging
66
import unittest
7-
from abc import ABCMeta
7+
from abc import ABCMeta, abstractmethod
88

99
from cgcloud.core.test import CoreTestCase
1010
from cgcloud.spark.spark_box import install_dir, SparkBox, Spark2Box, SparkMaster, SparkSlave
@@ -29,7 +29,7 @@ class BaseSparkClusterTests( CoreTestCase ):
2929
create_image = True
3030

3131
@classmethod
32-
@abc.abstractmethod
32+
@abstractmethod
3333
def initNode( cls ):
3434
raise NotImplementedError("Abstract method")
3535

0 commit comments

Comments
 (0)