Skip to content

Commit

Permalink
@abc.abstractmethod -> @AbstractMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
fnothaft committed Apr 28, 2017
1 parent 55555a2 commit 1c3fe35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spark/src/cgcloud/spark/test/test_spark.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import time
import logging
import unittest
from abc import ABCMeta
from abc import ABCMeta, abstractmethod

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

@classmethod
@abc.abstractmethod
@abstractmethod
def initNode( cls ):
raise NotImplementedError("Abstract method")

Expand Down

0 comments on commit 1c3fe35

Please sign in to comment.