[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Minor stylistic corrections



commit e8784466401a8120669128682b75eaa947e91c7a
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Wed Feb 6 07:46:22 2013 -0800

    Minor stylistic corrections
    
    Couple PEP8 bugs that slipped in concerning spacing between code and inline
    comments.
---
 test/unit/descriptor/networkstatus/document_v3.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/unit/descriptor/networkstatus/document_v3.py b/test/unit/descriptor/networkstatus/document_v3.py
index 71d56e5..548d467 100644
--- a/test/unit/descriptor/networkstatus/document_v3.py
+++ b/test/unit/descriptor/networkstatus/document_v3.py
@@ -481,9 +481,9 @@ class TestNetworkStatusDocument(unittest.TestCase):
 
     test_values = (
       ("", {}),
-      ("fast-speed=40960", {u"fast-speed": u"40960"}),   # numeric value
-      ("guard-wfu=94.669%", {u"guard-wfu": u"94.669%"}), # percentage value
-      ("guard-wfu=94.669% guard-tk=691200", {u"guard-wfu": u"94.669%", u"guard-tk": u"691200"}), # multiple values
+      ("fast-speed=40960", {u"fast-speed": u"40960"}),    # numeric value
+      ("guard-wfu=94.669%", {u"guard-wfu": u"94.669%"}),  # percentage value
+      ("guard-wfu=94.669% guard-tk=691200", {u"guard-wfu": u"94.669%", u"guard-tk": u"691200"}),  # multiple values
     )
 
     for test_value, expected_value in test_values:
@@ -513,7 +513,7 @@ class TestNetworkStatusDocument(unittest.TestCase):
     # it does.
 
     test_values = (
-      "stable-uptime 693369", # not a key=value mapping
+      "stable-uptime 693369",  # not a key=value mapping
       #"stable-uptime=693369\tstable-mtbf=153249", # non-space divider
     )
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits