Last active
October 22, 2015 08:23
-
-
Save nastra/3fa3377ab8067820fabb to your computer and use it in GitHub Desktop.
Python Syntax Highlighting broken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeTest(object): | |
@classmethod | |
def init_suite(cls): | |
cls.MIXED_CASE_KS = "Test" | |
cls.TYPE_TABLES = {"ascii":"ascii_table", "bigint":"bigint_table", "blob":"blob_table", "boolean":"boolean_table", | |
"counter":"counter_table", "decimal":"decimal_table", "double":"double_table", "float":"float_table", | |
"inet":"inet_table", "int":"int_table", "text":"text_table", "timestamp":"timestamp_table", | |
"uuid":"uuid_table", "timeuuid":"timeuuid_table", "varchar":"varchar_table", "varint":"varint_table"} | |
cls.COLLECTION_TABLES = {"list":"list_table", "set":"set_table", "map":"map_table"} | |
""" | |
this line breaks hightlighting in all following code lines | |
session.execute('INSERT INTO keyspace.table (type_id, value) VALUES ( 39, 12);') | |
""" | |
cls.DECIMAL_DATA = {1: "3.85", 2: "3", 3: "1999.09", 4: "-938783"} | |
cls.DOUBLE_DATA = {1: "9685.807", 2: "-9775.808"} | |
cls.FLOAT_DATA = {1: "19939.9", 2: "-939393.1"} | |
cls.INET_DATA = {1: "10.200.20.147", 2: "10.200.20.149", 3: "2001:db8:1f15:d79:e6ce:8fff:fe00:933e"} | |
cls.INT_DATA = {1: "-2147483648", 2: "2147483647"} | |
cls.SET_DATA = {1: "{'val1', 'val2', 'val3'}"} | |
def test_me(self): | |
print 'a' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment